package com.yizhubao.app.utils;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;

import h.framework.pacy.utils.PreferencesUtil;

/**
 * 创建人: PACY
 * 创建时间: 6/4/21 9:28 AM
 * 邮箱: pengwwe457621023@qq.com
 * 类描述:
 */
public class Constants {
    public static final String TAG = "PACY";
    public static final String NAME = "yizhubao";


    public static final String COOKIE="cookie";

    /**
     * 保存本地数据的key
     */
    //真实姓名
    public static final String REAL_NAME = "realName";
    //userId
    public static final String USER_ID = "userId";
    //支付状态
    public static final String HAS_PAY = "hasPay";
    //身份认证
    public static final String HAS_IDCARD_VALID = "hasIdCardValid";
    //特殊身份
    public static final String HAS_SPECIAL="hasSpecialIdentity";

    //草稿
    public static final String DRAFT="draft";

    //首次进入
    public static final String FIRST="first";

    public static final String NEWS_VIDEO_URL = "https://resource.weimingfang.com/company/shipin1.mp4";
    public static final String USER_NEWS_VIDEO_URL = "https://resource.weimingfang.com/company/shipin2.mp4";
    public static final String WHY_VIDEO="https://respect-static.oss-cn-beijing.aliyuncs.com/company/shipin3.mp4";
    /**
     * 全局用户变量
     */
    public  static final String WX_APP_ID="wx14d74ff697d28fb0";


    /**
     * 跳转h5链接配置
     */
    public static final String LIANXIKEFU = "https://resource.weimingfang.com/pages/Appstatic.html?type=lianxikefu";
    public static final String XINLIFUDAO = "https://resource.weimingfang.com/pages/Appstatic.html?type=xinlifudao";
    public static final String LIANXILVSHI = "https://resource.weimingfang.com/pages/Appstatic.html?type=lianxilvshi";
    public static final String WEIXIANQIUZHU = "https://resource.weimingfang.com/pages/Appstatic.html?type=weixianqiuzhu";
    public static final String QUESTION = "https://resource.weimingfang.com/pages/question.html";
    public static final String QUESTION_PAY = "https://resource.weimingfang.com/pages/question.html?pay=1";
    public static final String PLATFORM = "https://resource.weimingfang.com/pages/platform.html";
    public static final String NEWS = "https://resource.weimingfang.com/pages/news.html";
    public static final String QIGUAN="https://register.codac.org.cn/wx/wxsignnotice.aspx";


    /**
     * 生命检测图 1.gif  1-11  11是默认图
     */
    public static final String HEALTHY_LIST="https://resource.weimingfang.com/company/jiankangtu/";

    /**
     * 请求
     * 测试地址
     */
//    public static final String BASE_URL = "https://xiaowenzi.top/yz/";
    public static final String BASE_URL="https://record.weimingfang.com/yz/";
    public static final String BASE_URL_PATH = "yz";


    // 阿里云OSS字段配置
    public static final String endpoint = "https://resource.weimingfang.com";
    public static final String accessKeyId = "LTAI5tC5hdqymgYjmS7cyeJ4";
    public static final String accessKeySecret = "2EZaf8FO9gluU4jvl3nUuRgk0tTD6s";

    public static final String testBucket = "respect-static";
    public static final String uploadObject = "images/";

    public static final String ossImagePath=endpoint+"/"+uploadObject;




    /**
     * 测试数据
     *
     * @return
     */
    public static List<String> getTestData(int size) {
        List<String> data = new ArrayList<>();
        while (size > 0) {
            data.add("1");
            size--;
        }
        return data;
    }
}
